import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import 'element-plus/theme-chalk/index.css'  // 引入 ElementPlus 组件样式

import axios from "axios";
import VueAxios from 'vue-axios'

import CommonTable from '@/components/CommonTable.vue'

import { vLoading } from 'element-plus/es/components/loading/src/directive'


createApp(App).use(store).use(router).use(VueAxios, axios).component('CommonTable', CommonTable).directive('loading', vLoading).mount('#app')
